package com.distributer.order.service;

import com.distributer.order.controller.dto.OrderReqInfo;
import com.distributer.order.model.Order;

public interface OrderService {

	public String addOrder(OrderReqInfo orderReqInfo);
	
	public void updateOrder(Order order);
	
	public Order findOrderByOrderNo(String orderNo);

	public void updateOrderStatusByOrderItemCreateResult(String orderNo, boolean orderItemCreateResult);

	public Order findOrderFromCacheByOrderNo(String orderNo);
	
	public void refreshOrderToCache(Order order);
	
	public void removeOrderFromCache(String orderNo);
}
